﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MongoDAO.Attributes
{
    [AttributeUsage(AttributeTargets.Class, Inherited = true)]
    public class ConnectionStringNameAttribute : Attribute
    {
        public string ConnectionStringName;

        public ConnectionStringNameAttribute(string ConnectionStringName)
        {
            if (String.IsNullOrWhiteSpace(ConnectionStringName))
            {
                throw new ArgumentNullException("ConnectionStringName");
            }
            this.ConnectionStringName = ConnectionStringName;
        }


      
    }
}
